

#ifndef _CONTROLTIMER_H

#define _CONTROLTIMER_H

#include <time.h>
#include <iostream>

using namespace::std;


class ControlTimer
{
public:
	ControlTimer();

	bool InicializarTimer();
	bool CalcularTimer();
	void CalcularTimerEvaluacion();

	int getElapTicks(){return intElapTicks;}
	double getElapMiliseconds(){return dblElapMiliseconds;}
	double getElapSeconds(){return dblElapSeconds;}
	
	void setTimerBreak(const double &TimeBreak){dblTimeBreak = TimeBreak;}
	double getTimerBreak(){return dblTimeBreak;}


private:
	clock_t Begin;
	clock_t End;

	int intElapTicks;
	double dblElapMiliseconds;
	double dblElapSeconds;

	double dblTimeBreak;

};

#endif
